
/* ---------------------------------------- */
/*
js component
js:jquery.easydropdown.min.js
url:
*/
/* --- EASYDROPDOWN DEFAULT THEME --- */
/* PREFIXED CSS */
.dropdown,
.dropdown div,
.dropdown li,
.dropdown div::after {
  -webkit-transition: all 150ms ease-in-out;
  -moz-transition: all 150ms ease-in-out;
  -ms-transition: all 150ms ease-in-out;
  transition: all 150ms ease-in-out;
}

.dropdown .selected::after,
.dropdown.scrollable div::after {
  -webkit-pointer-events: none;
  -moz-pointer-events: none;
  -ms-pointer-events: none;
  pointer-events: none;
}

/* WRAPPER */
.dropdown {
  position: relative;
  width: 190px;
  cursor: pointer;
  border: 1px solid;
  border-color: #395165;
  color: #fff;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.dropdown.open {
  z-index: 6999;
}

/* CARAT */
.dropdown .carat {
  position: absolute;
  right: 2px;
  top: 50%;
  margin-top: -4px;
  border: 6px solid transparent;
  border-top: 8px solid #7fd3f5;
}

.dropdown.open .carat {
  margin-top: -10px;
  border-top: 6px solid transparent;
  border-bottom: 8px solid #7fd3f5;
}

.dropdown.disabled .carat {
  border-top-color: #7fd3f5;
}

/* OLD SELECT (HIDDEN) */
.dropdown .old {
  position: absolute;
  left: 0;
  top: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.dropdown select {
  position: absolute;
  left: 0px;
  top: 0px;
}

.dropdown.touch .old {
  width: 100%;
  height: 100%;
}

.dropdown.touch select {
  width: 100%;
  height: 100%;
  opacity: 0;
}

/* SELECTED FEEDBACK ITEM */
.dropdown .selected,
.dropdown li {
  display: block;
  line-height: 1;
  color: #fff;
  padding: 9px 12px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dropdown.disabled .selected {
  color: #999;
}

.dropdown .selected::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 35px;
  background: #112c42;
  border-radius: 0 2px 2px 0;
}

/* DROP DOWN WRAPPER */
.dropdown div {
  position: absolute;
  height: 0;
  left: -1px;
  right: -1px;
  top: 100%;
  margin-top: -1px;
  background: #000;
  border: 1px solid #395165;
  border-top: 1px solid #395165;
  border-radius: 0 0 3px 3px;
  overflow: hidden;
  opacity: 0;
}

/* Height is adjusted by JS on open */
.dropdown.open div {
  opacity: 1;
  z-index: 2;
}


.dialog .form-item .dropdown.open div {
  height: 280px !important;
  overflow-y:auto;
}

.dialog .form-item-outer .form-item .dropdown.open div {
  overflow-y:hidden;
  height: 180px !important;
}


/* FADE OVERLAY FOR SCROLLING LISTS */
.dropdown.scrollable div::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50px;
  box-shadow: inset 0 -50px 30px -35px #fff;
}

.dropdown.scrollable.bottom div::after {
  opacity: 0;
}

/* DROP DOWN LIST */
.dropdown ul {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  list-style: none;
}

.dropdown.scrollable.open ul {
  overflow-y: auto;
}

/* DROP DOWN LIST ITEMS */
.dropdown li {
  list-style: none;
  padding: 8px 12px;
}

/* .focus class is also added on hover */
.dropdown li.focus {
  background: #112c42;
  position: relative;
  z-index: 3;
  color: #fff;
}

.dropdown li.active {
  font-weight: 700;
}